package org.example.actualcombat.demos.web.modules.pms.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.actualcombat.demos.web.common.api.CommonResult;
import org.example.actualcombat.demos.web.modules.pms.model.PmsProductAttributeModel;
import org.example.actualcombat.demos.web.modules.pms.model.dto.RelationAttrInfoDTO;

import java.util.List;

public interface PmsProductAttributeService extends IService<PmsProductAttributeModel> {
    Page listSelf(int cid,int type, int pageNum, int pageSize);

    Page list(int cid, int type, int pageNum, int pageSize);

    boolean save2(PmsProductAttributeModel pmsProductAttributeModel);

    boolean removeIds(List<Long> ids);

    List<RelationAttrInfoDTO> getRelationAttrInfoByCid(Long cid);
}
